<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单域属性</title>
</head>
<body>
<h2>表单域属性</h2>
<form action="" method="get" autocomplete="off">
    <label>姓名：<input type="text" name="name" id="name" placeholder="请输入真实姓名" required="required"></label><br>
    <label>身份证：<input type="text" name="idcard" id="idcard" required="required"></label><br>
    <label>单位：<input type="text" name="unit" id="unit" autofocus="autofocus" required="required"></label><br>
    <label>文件：<input type="file" name="img" multiple="multiple" required="required"></label><br>
    <label>电话：<input type="number" name="telephone" id="telephone" pattern="[0-9]" required="required"></label><br>
    <label><input type="image" src="../source/img/html5.png" height="100" width="200" value="提交"></label>
</form>
</body>
</html>